
<!-- saved from url=(0071)http://weixin.zto.cn/Order?OpenId=ocMyOjitqZxthXoyp6_f0oYIfawU&type=add -->
<html style="height: 544px;"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta name="format-detection" content="telephone=no">
    <meta name="robots" content="none">
    <title>中通快递</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
    <!-- <link rel="stylesheet" type="text/css" href="/css/af.ui.css">
    <link rel="stylesheet" type="text/css" href="/css/icons.css">
    <link rel="stylesheet" type="text/css" href="/css/zto.css">
    <script type="text/javascript" src="/js/appframework.js"></script> -->
    {% load staticfiles %}<link rel="stylesheet" type="text/css" href="{% static 'css/af.ui.css' %}">
    {% load staticfiles %}<link rel="stylesheet" type="text/css" href="{% static 'css/icons.css' %}">
    {% load staticfiles %}<link rel="stylesheet" type="text/css" href="{% static 'css/zto.css' %}">
    {% load staticfiles %}<script type="text/javascript" src="{% static 'js/appframework.js' %}"></script>
</head>
<body>

<div class="hint">
    <span></span>
    <div class="hint_box"></div>
</div>
<div id="afui" class="zto" style="height: 544px;"><div id="header" class="header"> <header id="sitesearch_header" style="transform: translate3d(0px, 0px, 0px) scale(1) rotate(0deg) rotateY(0deg) skew(0deg, 0deg); backface-visibility: hidden; opacity: 1; transition-property: all; transition-duration: 230ms; transition-timing-function: linear; transform-origin: 0% 0% 0px;">
    <h1>订单管理</h1>
</header></div>
    

    <div id="content">
        


<!--订单管理选择start-->
<div class="panel y-scroll" js-scrolling="true" title="" id="provinceChange" data-header="sitesearch_header" data-footer="" data-title="订单管理" style="overflow: hidden; display: block;"><div class="afScrollPanel" style="transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);">

    <div class="w5">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="orderListTable">


                <tbody><tr class="orderListTable_head">
                    <td width="60" style="padding: 0px;" onclick="allcheck()">
                        <div class="defaultTd">
                            <div class="curr">
                                <div id="allcheck" class="smallsquare white"></div>
                            </div>
                        </div>
                    </td>
                    <td><span>订单编号</span></td>
                    <td width="65"><span>状态</span></td>
                    <td width="65"><span>操作</span></td>
                </tr>
                    <tr>
                              <td style="padding: 0px;">                          
                            <div class="defaultTd">
                                <div class="curr" style="background-color:lightgray;">
                                   
                                </div>
                            </div>                           
                        </td>
                        <td>ZT1606296304260699</td>
                        <td>
                                <font color="#006400">已接单</font>
                        </td>
                        <td><a href="http://weixin.zto.cn/Order/OrderShow?OpenId=ocMyOjitqZxthXoyp6_f0oYIfawU&amp;OrderCode=ZT1606296304260699" data-ignore="True" style="color:blue;">查看详情</a></td>
                    </tr>


            </tbody></table>

        <div class="inputdiv mt30 none" id="delete">
            <a onclick="deleteOrder()" class="sbtn w100 fr">删除所选订单</a>
        </div>
    </div>

</div><div class="afScrollbar" style="position: absolute; width: 5px; height: 20px; border-radius: 2px; display: none; top: 0px; background: rgb(141, 141, 141);"></div></div>

<!--订单管理选择end-->
<script type="text/javascript">
    function allcheck() {
        if ($("#allcheck").attr("class").indexOf("right") < 0) {
            $(".smallsquare").addClass("right");
            $("#delete").removeClass("none");
        } else {
            $(".smallsquare").removeClass("right");
            $("#delete").addClass("none");
        }
    }

    $(".checked").click(function () {
        var checkedid = $(this).find(".smallsquare");
        if (checkedid.attr("class").indexOf("right") < 0) {
            checkedid.addClass("right");
            $("#delete").removeClass("none");
        } else {
            checkedid.removeClass("right");
        }
        var m = $(".checked").length;
        var n = $(".checked .right").length;
        if (n == 0) {
            $("#delete").addClass("none");
        }
        if (m == n) {
            $("#allcheck").addClass("right");
        } else {
            $("#allcheck").removeClass("right");
        }
    });
    function deleteOrder() {
        //获取要删除的ID
        var OrderCodeList = "";
        $(".checked .right").each(function (index, element) {
            //console.log($(this).attr("id"));
            OrderCodeList += $(this).attr("id") + " ";
        });

        $.ui.popup({
            title: "删除",
            message: "您确定要删除这些订单吗？",
            cancelText: "取消",
            cancelClass: "button ztoleft",
            cancelCallback: function () { console.log("取消"); },
            doneText: "确定",
            doneClass: "button ztoright",
            doneCallback: function () {
                //提交处理
                $.post("/Order/OrderDel?OpenId=ocMyOjitqZxthXoyp6_f0oYIfawU",
                    { "OrderCodeList": OrderCodeList },
                    function (result) {
                        if (result == null) {
                            showMask("系统异常，请重新提交！", "info", 3000);
                            return false;
                        }
                        if (result.Status == "true" || result.Status == true) {
                            showMask("删除成功！", "right", 1000, "/Order?OpenId=ocMyOjitqZxthXoyp6_f0oYIfawU", "true");
                        }
                        else {
                            showMask(result.Msg, "info", 3000);
                        }

                    }, "json");
            },
            cancelOnly: false
        });
    }
</script>
    <div id="afui_ajax" data-crc="afui_ajax" class="panel y-scroll" js-scrolling="true" title="" data-title="" style="overflow: hidden;"><div class="afScrollPanel"></div><div class="afScrollbar" style="position: absolute; width: 5px; height: 20px; border-radius: 2px; display: none; top: 0px; background: rgb(141, 141, 141);"></div></div></div>
    
<div id="menu" class="tabletMenu" style="overflow: hidden;"><div id="menu_scroller" style="transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);"></div><div class="afScrollbar" style="position: absolute; width: 5px; height: 20px; border-radius: 2px; display: none; top: 0px; background: rgb(141, 141, 141);"></div></div><div id="aside_menu" style="overflow: hidden;"><div id="aside_menu_scroller" style="transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);"></div><div class="afScrollbar" style="position: absolute; width: 5px; height: 20px; border-radius: 2px; display: none; top: 0px; background: rgb(141, 141, 141);"></div></div><div id="afui_modal" afmoldstyle="" style="display: none;"><div id="modalHeader" class="header"></div><div id="modalContainer" style="overflow: hidden;"><div style="transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);"></div><div class="afScrollbar" style="position: absolute; width: 5px; height: 20px; border-radius: 2px; display: none; top: 0px; background: rgb(141, 141, 141);"></div></div><div id="modalFooter" class="footer"></div><div id="modalTransContainer"></div></div><header id="defaultHeader" class="" style="transform: translate3d(100px, 0px, 0px) scale(1) rotate(0deg) rotateY(0deg) skew(0deg, 0deg); backface-visibility: hidden; opacity: 1; transition: all 1ms linear 46ms; transform-origin: 0% 0% 0px;"><a class="backButton button" style="visibility: hidden;"></a><h1 id="pageTitle"></h1></header></div>
    
    <script type="text/javascript" src="/js/appframework.ui.js"></script>
    <script type="text/javascript" src="/js/zto.wap.js"></script>
<script type="text/javascript">
    var t = false; //目前状态
    var id = ""; //上一次点击的ID
    $("#navbar a").click(function() {
        var i = $(this).index();
        $(".navbarJiao").removeClass("navbar1").removeClass("navbar2").removeClass("navbar3");
        $(".navbarList").removeClass("bottom");
        $(".navbarList").eq(i).toggleClass("bottom");
        if (i == id) {
            id = i;
            if (!t) {
                $(".navbarList").eq(i).addClass("bottom");
                $(".navbarJiao").addClass("navbar" + Number(i + 1));
                t = true;
            } else {
                $(".navbarList").eq(i).removeClass("bottom");
                $(".navbarJiao").removeClass("navbar1").removeClass("navbar2").removeClass("navbar3");
                t = false;
            }
        } else {
            id = i;
            $(".navbarList").eq(i).addClass("bottom");
            $(".navbarJiao").addClass("navbar" + Number(i + 1));
            t = true;
        }
    });
    $("#content,#header").bind("click", function() {
        $(".navbarList").removeClass("bottom");
        $(".navbarJiao").removeClass("navbar1").removeClass("navbar2").removeClass("navbar3");
    });
</script>



<div id="afui_mask" class="ui-loader" style="z-index: 20000; display: none;"><span class="ui-icon ui-icon-loading spin"></span><h1>内容加载中...</h1></div></body></html>